LL CRC APIs listing for migration ¶
There are a few API changes in the LL layer. This page lists only the modified LL APIs. Others not listed here are unchanged between HAL1 and HAL2.
LL CRC constants ¶
|
HAL1 |
series |
HAL2 |
|---|---|---|
|
LL_CRC_POLYLENGTH_32B |
u5, c0, h5, l4, g0, g4, h7 |
LL_CRC_POLY_SIZE_32B |
|
LL_CRC_POLYLENGTH_16B |
u5, c0, h5, l4, g0, g4, h7 |
LL_CRC_POLY_SIZE_16B |
|
LL_CRC_POLYLENGTH_8B |
u5, c0, h5, l4, g0, g4, h7 |
LL_CRC_POLY_SIZE_8B |
|
LL_CRC_POLYLENGTH_7B |
u5, c0, h5, l4, g0, g4, h7 |
LL_CRC_POLY_SIZE_7B |
|
LL_CRC_INDATA_REVERSETYPE_BIT |
Removed, because the input reverse feature is already fully covered by
|
|
|
LL_CRC_INDATA_REVERSETYPE_BYTE_HALFWORD |
Removed, because the input reverse feature is already fully covered by
|
|
|
LL_CRC_INDATA_REVERSE_BIT_BYBYTE |
LL_CRC_INDATA_REVERSE_BYTE |
|
|
LL_CRC_INDATA_REVERSE_BIT_BYHALFWORD |
LL_CRC_OUTDATA_REVERSE_HALFWORD_BYWORD |
|
|
LL_CRC_INDATA_REVERSE_BIT_BYWORD |
LL_CRC_INDATA_REVERSE_WORD |
|
|
LL_CRC_OUTDATA_REVERSE_BYTE |
LL_CRC_OUTDATA_REVERSE_BYTE_BYWORD |
|
|
LL_CRC_OUTDATA_REVERSETYPE_BIT |
Removed, because the input reverse feature is already fully covered by
|
|
|
LL_CRC_OUTDATA_REVERSETYPE_BYTE_HALFWORD |
Removed, because the input reverse feature is already fully covered by
|
LL CRC macros ¶
|
HAL1 |
series |
HAL2 |
|---|---|---|
|
LL_CRC_WriteReg |
u5, c0, h5, l4, f4, g0, g4, h7 |
LL_CRC_WRITE_REG |
|
LL_CRC_ReadReg |
u5, c0, h5, l4, f4, g0, g4, h7 |
LL_CRC_READ_REG |
|
LL_CRC_Write_IDR |
u5, c0, h5, l4, f4, g0, g4, h7 |
LL_CRC_WriteIDR |
|
LL_CRC_Read_IDR |
u5, c0, h5, l4, f4, g0, g4, h7 |
LL_CRC_ReadIDR |
|
LL_CRC_SetInputDataReverseType |
Removed because the input reverse feature is already fully covered by
|
|
|
LL_CRC_GetInputDataReverseType |
Removed because the input reverse feature is already fully covered by
|
|
|
LL_CRC_SetOutputDataReverseType |
Removed because the input reverse feature is already fully covered by
|
|
|
LL_CRC_GetOutputDataReverseType |
Removed because the input reverse feature is already fully covered by
|
LL CRC functions ¶
|
HAL1 |
series |
HAL2 |
Refer to |
|---|---|---|---|
|
LL_CRC_DeInit |
u5, c0, h5, l4, f4, g0, g4, h7 |
Removed / New sequence changes |